package com.example.myapplicationndk.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
/*

   private void BroadCasterReceiver() {
        BroadCaster broadCaster = new BroadCaster();
        IntentFilter intentFilter = new IntentFilter();
        intentFilter.addAction("android.net.conn.CONNECTIVITY_CHANGE");
        //注册广播
        registerReceiver(broadCaster, intentFilter);

//        unregisterReceiver(broadCaster);
    }

 */

public class BroadCaster extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Log.d("receiver", intent.getAction());

    }


}
